package network;

import java.io.Serializable;


public interface IJson extends Serializable {


    public boolean put(String key, int value);

    public boolean put(String key, Object value);

    public String toString();

    public String getString(String key);

    public int getInt(String key);

    public boolean has(String key);

    boolean isNull(String name);
    
    public boolean getBoolean(String key);

    public IJson getJson(String key);
    
    public IJson[] getJsonArray(String key);
    /**
     * 获取普通非json数组
     * @param key
     * @return
     */
    public String[] getArray(String key);


}
